package com.yzy.fly.entity.role;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("fly_view_match")
public class FlyViewMatch implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    @TableField(value = "params",typeHandler = FastjsonTypeHandler.class)
    private JSONObject params;

    private Integer viewId;

    private Integer systemId;

    private Date createTime;

    private Date updateTime;
}
